package com.project.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.project.entity.UserEntity;
import com.project.entity.UserOrderInfoProductEntity;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class UserOrderVo {

    private long orderId;


    private String userRef;//用户唯一编号


    private String orderRef;//订单唯一编号


    private double totalPrice;//付款总额


    private LocalDateTime orderTime = LocalDateTime.now();//订单时间


    private String status;//订单状态 //订单状态码,  0未发货   1 发货  2 已完成


    private String address;//收货地址


    private int modeOfPayment;//支付方式


    private List<UserOrderInfoProductEntity> userOrderInfoProductEntityList;//订单里的所有商品


    private UserEntity userEntity;//用户订单对应的用户

}
